package com.hqyj.fj.javaSpringBoot.modules.test.service;

import com.hqyj.fj.javaSpringBoot.modules.account.entity.User;
import com.hqyj.fj.javaSpringBoot.modules.common.entity.Result;
import com.hqyj.fj.javaSpringBoot.modules.common.entity.SearchBean;
import com.hqyj.fj.javaSpringBoot.modules.test.entity.Student;
import org.springframework.data.domain.Page;

import java.util.List;

public interface UserService {
    Result<User> editUser(User user);

    Result<Object> insertUsers(List<User> userList);

    Result<Object> deleteStudentById(int id);

    User getUserById(int id);

    User getByUserNameAndEmail(String  userName,String email);

    User getByUserNameAndPassword(String  userName,String password);

    Page<User> getUserBySearchBean(SearchBean searchBean);

}
